import request from "@/utils/request";

export function thumbsSearch(name) {
    return request.post(`/thumbsEntity/thumbsSearch?name=${name}`);
}

export function thumbsListPage(page, pageSize) {
    return request.post(`/thumbsEntity/thumbsListPage?page=${page}&pageSize=${pageSize}`);
}

export function thumbsId(id) {
    return request.post(`/thumbsEntity/thumbsId?id=${id}`);
}

export function thumbsEditor(params) {
    return request.post(`/thumbsEntity/thumbsEditor`, params);
}

export function thumbsDelete(id) {
    return request.post(`/thumbsEntity/thumbsDelete?id=${id}`);
}

export function thumbsAppend(params) {
    return request.post(`/thumbsEntity/thumbsAppend`, params);
}

export function thumbsList() {
    return request.get(`/thumbsEntity/thumbsList`);
}

